package com.goldgov.learnmanage.service;

import com.goldgov.kcloud.core.service.Query;
import com.goldgov.utils.DataUtil;
import com.goldgov.utils.PropertyUtil;

public class CourseQuery extends Query<Course>{

	private String searchOrgID;//机构id
	private String searchUserID;//用户id
	private String searchBeginDate;//开始时间
	private String searchEndDate;		//结束时间
	private Integer searchCourseTime;//学习时长
	private String searchOrgName;//组织名称
	private String searchScopeCode;
	private String searchYear; //查询年
	private String searchQuarter;// 查询季度
	private String searchMonth;// 查询月份
	private String searchWeek;// 查询周数
	private Integer searchType;//查询类型  1天，2周，3月，4季度 5年
	private Integer searchParam;//查询数据参数
	private String[] searchBranchCode;//存在人员支部编码
	private Integer searchOrganizationType;//机构类别  1市 2工委  3县 
	private Integer serarchNextNum;//下级机构数量
	private Integer searchOrderType;//排序字段 1按组织 2按完成度
	
	public String getSearchBeginDate() {
		return searchBeginDate;
	}
	public void setSearchBeginDate(String searchBeginDate) {
		this.searchBeginDate = searchBeginDate;
	}
	public String getSearchEndDate() {
		return searchEndDate;
	}
	public void setSearchEndDate(String searchEndDate) {
		this.searchEndDate = searchEndDate;
	}
	public Integer getSearchCourseTime() {
		return searchCourseTime;
	}
	public void setSearchCourseTime(Integer searchCourseTime) {
		this.searchCourseTime = searchCourseTime;
	}
	public String getSearchOrgID() {
		return searchOrgID;
	}
	public void setSearchOrgID(String searchOrgID) {
		this.searchOrgID = searchOrgID;
	}
	public String getSearchUserID() {
		return searchUserID;
	}
	public void setSearchUserID(String searchUserID) {
		this.searchUserID = searchUserID;
	}
	public String getSearchOrgName() {
		return searchOrgName;
	}
	public void setSearchOrgName(String searchOrgName) {
		this.searchOrgName = searchOrgName;
	}
	public String getSearchQuarter() {
		return searchQuarter;
	}
	public void setSearchQuarter(String searchQuarter) {
		this.searchQuarter = searchQuarter;
	}
	public String getSearchMonth() {
		return searchMonth;
	}
	public void setSearchMonth(String searchMonth) {
		this.searchMonth = searchMonth;
	}
	public String getSearchWeek() {
		return searchWeek;
	}
	public void setSearchWeek(String searchWeek) {
		this.searchWeek = searchWeek;
	}
	public String getSearchYear() {
		return searchYear;
	}
	public void setSearchYear(String searchYear) {
		this.searchYear = searchYear;
	}
	public String getSearchScopeCode() {
		return searchScopeCode;
	}
	public void setSearchScopeCode(String searchScopeCode) {
		this.searchScopeCode = searchScopeCode;
	}
	public Integer getSearchType() {
		return searchType;
	}
	public void setSearchType(Integer searchType) {
		this.searchType = searchType;
	}
	public Integer getSearchParam() {
		return searchParam;
	}
	public void setSearchParam(Integer searchParam) {
		this.searchParam = searchParam;
	}
	public String[] getSearchBranchCode() {
		if (!PropertyUtil.objectNotEmpty(this.searchBranchCode)) {
			searchBranchCode = DataUtil.BRANCH_CODING;
		}
		return searchBranchCode;
	}
	public void setSearchBranchCode(String[] searchBranchCode) {
		if (!PropertyUtil.objectNotEmpty(searchBranchCode)) {
			searchBranchCode = DataUtil.BRANCH_CODING;
		}
		this.searchBranchCode = searchBranchCode;
	}
	public Integer getSearchOrganizationType() {
		return searchOrganizationType;
	}
	public void setSearchOrganizationType(Integer searchOrganizationType) {
		this.searchOrganizationType = searchOrganizationType;
	}
	public Integer getSerarchNextNum() {
		return serarchNextNum;
	}
	public void setSerarchNextNum(Integer serarchNextNum) {
		this.serarchNextNum = serarchNextNum;
	}
	public Integer getSearchOrderType() {
		return searchOrderType;
	}
	public void setSearchOrderType(Integer searchOrderType) {
		this.searchOrderType = searchOrderType;
	}
	
}
